package com.baseweb.webadmin.service;

import com.baseweb.webadmin.core.model.bvo.PushMsgBvo;
import com.baseweb.webadmin.core.model.pojo.PushRecord;
import com.baseweb.webadmin.core.model.pojo.PushRecordDetail;

import java.util.HashMap;
import java.util.List;

public interface MsgService {
    public void insertPushRecord(PushRecord pushRecord);
    public void updatePushRecord(PushRecord pushRecord);
    public List<PushRecord> findPushRecords(Integer start, Integer offset,Integer status);
    public Integer countPushRecords(Integer status);
    public PushRecord findPushRecordById(Integer id);

    public void insertPushRecordDetail(PushRecordDetail pushRecordDetail);
    public void updatePushRecordDetail(PushRecordDetail pushRecordDetail);
    public List<PushRecordDetail> findPushRecordDetails(Integer pushRecordId,Integer start, Integer offset,Integer status);
    public Integer countPushRecordDetails(Integer pushRecordId,Integer status);
    public PushRecordDetail findPushRecordDetailById(Integer id);
}
